/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.lcfgly.Exception;

import java.sql.SQLException;
import org.apache.log4j.Logger;

/**
 * SQL空结果异常
 * @author lcfgly
 */
public class SQLEmptyException extends SQLException{

    private final Logger log=Logger.getLogger("空数据");

    public SQLEmptyException(Throwable cause) {
        super(cause);
        log.info(cause);
    }

    public SQLEmptyException(String reason, Throwable cause) {
        super(reason, cause);
        log.info(reason,cause);
    }
    
}
